local M = {}

M = {
  -- 主题
  catppuccin = { enabled = true },
  everforest = { enabled = false },
  tokyonight = { enabled = false },
  evergarden = { enabled = false },
  -- 代码导航
  aerial = { enabled = true },
  -- 代码对齐
  align = { enabled = true },
  vim_easy_align = { enabled = true },
  -- 自动生成括号
  autopairs = { enabled = true },
  blink_pairs = { enabled = false },
  -- 光标在代码中的位置展示
  barbecue = { enabled = true },
  -- 代码补全
  blink_cmp = { enabled = true },
  nvim_cmp = { enabled = true },
  luasnip = { enabled = true },
  -- 标签页
  bufferline = { enabled = false },
  -- 代码注释
  comment = { enabled = true },
  -- 代码格式化
  conform = { enabled = true },
  -- 代码上下文展示
  context = { enabled = false },
  -- UI界面
  dressing = { enabled = false },
  noice = { enabled = false }, -- BUG: Macro doesn't work
  -- nvim进入界面
  dashboard = { enabled = false },
  -- LSP 加载可视化
  fidget = { enabled = false },
  -- 光标跳转
  flash = { enabled = true },
  -- 显示git中文件状态
  gitsigns = { enabled = true },
  -- 代码缩进线
  hlchunk = { enabled = false },
  indent_blankline = { enabled = false },
  -- 高亮光标所在的词
  illuminate = { enabled = false }, -- NOTE: it is incompatible with nvim-0.13
  -- lazygit
  lazygit = { enabled = false },
  -- 补全中的图标
  lspkind = { enabled = true },
  -- 状态栏
  lualine = { enabled = true },
  -- markdown 预览
  markdown_preview = { enabled = true },
  -- makrdown 渲染
  markdown_render = { enabled = false },
  -- LSP 管理
  mason = { enabled = true },
  -- scala LSP
  metals = { enabled = true },
  -- 图标库
  mini_icons = { enabled = true },
  -- 多光标
  multicursors = { enabled = true }, -- BUG: it is not compatible with blink_cmp
  -- 代码调试
  dap = { enabled = true },
  -- LSP
  lspconfig = { enabled = false },
  lspconfig_nvim = { enabled = true },
  -- 文件浏览
  nvim_tree = { enabled = true },
  -- 工作流
  overseer = { enabled = false },
  -- 工程管理
  project = { enabled = true },
  -- 彩虹括号
  rainbow = { enabled = false },
  -- 滚动条
  scrollbar = { enabled = false },
  -- 快速添加"", '' 等
  surround = { enabled = true },
  -- 各种搜索
  telescope = { enabled = true },
  -- 高亮注释
  todo_comment = { enabled = true },
  -- terminal
  toggleterm = { enabled = true },
  -- 代码解析
  treesitter = { enabled = true },
  -- 显示快捷键
  whichkey = { enabled = true },
  -- 复制粘贴
  yanky = { enabled = true },
  -- 精美小插件合集
  snack = {
    enabled = true,
    picker = true
  },
  mini = {
    enabled = true,
    cursorword = true
  },
  -- 窗口大小调整
  winresizer = { enabled = true },
  -- 窗口位置调整
  winshift = { enabled = true },
  -- 代码检查
  lint = { enabled = true },
  -- trouble
  trouble = { enabled = true },
  -- 搜索高亮
  hlslens = { enabled = true },
}

if M.snack.picker then
  M.nvim_tree.enabled = false
  M.project.enabled = false
  M.telescope.enabled = false
end

if M.blink_cmp.enabled then
  M.nvim_cmp.enabled = false
  M.luasnip.enabled = false
  M.lspkind.enabled = false
end

return M
